package com.jjh.springframework.bean.factory;

import com.jjh.springframework.bean.BeansException;

/**
 * Bean 工厂
 *
 * @author jjh
 * @date 2021/06/05
 **/
public interface BeanFactory {

    Object getBean(String name) throws BeansException;

    <T> T getBean(String name, Object... args) throws BeansException;

    <T> T getBean(Class<T> requiredType) throws BeansException;
}
